﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CPPEI.WorkflowCore
{
    /// <summary>
    /// 流程参与者
    /// </summary>
    public class Actor
    {
        /// <summary>
        /// 参与者编号
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 参与者的姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 名称前缀
        /// </summary>
        public string Prefix { get; set; }

        /// <summary>
        /// 名称后缀
        /// </summary>
        public string Suffix { get; set; }

        /// <summary>
        /// 参与者标签信息
        /// </summary>
        public string Tag { get; set; }

        public ActorType Type { get; set; }

        public Actor(string id, string name, ActorType type)
        {
            this.Id = id;
            this.Name = name;
            this.Type = type;
        }
    }
}
